package prueba;

//
// The Customer Class to be used in
// Supermarket simulation.
//
// Paul E. Dunne 24/11/99
//
public class Customer
  {
  //****************************************
  // Class Fields                          *
  //****************************************
  private int client_id;           // Customer number
  private int service_time;        // Number of purchases
  private int arrival_time;        // Time of arrival (in Queue)
  private int departure_time;      // Time of departure (from checkout area)
  private int checkout_till_number;// Check out till queue assigned to.
  //*******************************************************************
  // The Class Methods simply instantiate and return the field values *
  //*******************************************************************
  public void set_id(int id)
    { client_id = id; }
  //
  public void set_service_time(int time)
    { service_time = time; }
  //
  public void set_arrived(int time)
    { arrival_time = time; }
  //
  public void set_depart(int time)
    { departure_time = time; }
  //
  public void set_checkout(int till_number)
    { checkout_till_number = till_number; }
  //
  public int get_id()
    { return client_id; }
  //
  public int get_service_time()
    { return service_time ; }
  //
  public int get_arrived()
    { return arrival_time ; }
  //
  public int get_depart()
    { return departure_time ; }
  //
  public int get_checkout()
    { return checkout_till_number; }
  }